SftTree/OCX 7.0

SftTree.RowHeaderTextStyle Property

Softel vdm, Inc.

Defines the default alignment for row header text.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeaders.TextHAlign and RowHeaders.TextVAlign instead

Syntax       

Get

VB.NET

Align = object.RowHeaderTextStyle  As SftTreeAlignConstants

VB

Align = object.RowHeaderTextStyle  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants Align = object.RowHeaderTextStyle;

VC++

enum SftTreeAlignConstants Align = object->RowHeaderTextStyle;
enum SftTreeAlignConstants Align = object->GetRowHeaderTextStyle();

C

HRESULT object->get_RowHeaderTextStyle(enum SftTreeAlignConstants* Align);

Delphi

Align := object.RowHeaderTextStyle  : TOleEnum;

Put

VB.NET

object.RowHeaderTextStyle = Align  As SftTreeAlignConstants

VB

object.RowHeaderTextStyle = Align  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants object.RowHeaderTextStyle = Align;

VC++

enum SftTreeAlignConstants object->RowHeaderTextStyle = Align;
void object->PutRowHeaderTextStyle(enum SftTreeAlignConstants Align);

C

HRESULT object->put_RowHeaderTextStyle(enum SftTreeAlignConstants Align);

Delphi

object.RowHeaderTextStyle := Align  : TOleEnum;

object

A SftTree object.

Align

Defines the default alignment for row header text.

One value of each of the following tables can be combined and used as Align value:

Horizontal Alignment

Value

Description

alignSftTreeLeft 

0

The text and graphic component are left aligned.

alignSftTreeCenter

1

The text and graphic component are centered.

alignSftTreeRight 

2

The text and graphic component are right aligned.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The text is vertically centered. If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The text is aligned with the top of the available area.

alignSftTreeBottom

64

The text is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeaders.TextHAlign and RowHeaders.TextVAlign instead

The RowHeaderTextStyle property defines the default alignment for row header text.

Individual row headers can override this default using the RowHeader.TextHAlign and RowHeader.TextVAlign properties.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com